<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="RunJS,在线编写、展示html、js、css代码，拥有实时预览、分享、Fork、代码高亮、自动完成等多项特性，提供文件上传、多种登录方式。" />
<meta name="keywords" content="RunJS runjs JavaScript CSS HTML 在线运行 展示 效果"/>
<title>RunJS</title>
<!--[if lt IE 10]>
<script type="text/javascript">
	var unsupport = true;
</script>
<![endif]-->
<script type="text/javascript">
	if(unsupport == true){
		location.href = "/unsupport";
	}
</script>
<link rel="stylesheet" type="text/css"
	href="/js/CodeMirror-2.25/lib/codemirror.css" />
<link rel="stylesheet" type="text/css"
	href="/js/CodeMirror-2.25/theme/theme.css?20121021" />
<link rel="stylesheet" href="/css/theme.css?20121211" type="text/css"/>
<link rel="stylesheet" href="/css/zebra_dialog.css" type="text/css"/>
<link rel="stylesheet" href="/css/style1.css?2012120502" type="text/css"/>
<link rel="stylesheet" href="/js/CodeMirror-2.25/lib/util/simple-hint.css" type="text/css"/>
<script type="text/javascript">editor_path = "/code"</script>
<script type="text/javascript" src="/js/all.js?2012121305"></script>

<script type="text/javascript">
	//初始化全局状态
	
g_status = {
	once:false,
	login:false,
	isMyCode:false,
	isOtherCode:false,
	hasNoCode:true,
	isDemo:true,
		sign:'',
	codeid:0,
	codename:'',
	project:0,
	version:0,
	ident:'',
	host:'http://runjs.cn',
	shost:'http://sandbox.runjs.cn',
	mode:'code',
	htmlType:1,
	cssType:1,
	jsType:1
};
User = {
	user:0,
	v_code:'',
	admin:false};
Setting = {
	theme:"night"
};
if(isNotEmpty(g_status.ident))
	updateUrl(g_status.host + editor_path+"/" + g_status.ident);
	g_mode = 'code';
</script>
<link rel="stylesheet" href="http://runjs.cn/code/sys_plugins/code/css/plugin_code_css" type="text/css"/>
<script src="http://runjs.cn/code/sys_plugins/code/js/plugin_code_js" type="text/javascript"></script>
<script type="text/javascript">
	var runjs;
	$(document).ready(function(){
		dialog = new Dialog();
		flow = new Flow();
		var explorer = new Explorer({
			target:$(".explorer"),
			fold:$(".fold_control"),
			core:$(".core"),
			show:false		});
		var editor = new Editor({
			target:$(".editor_wrapper")
		});
		var menu = new Menu({
			target:$(".headerMenu"),
		});
		runjs = new RunJS({
			editor:editor,
			explorer:explorer,
			menu:menu,
			flow:flow,
			dialog:dialog,
			plugins:plugins,
			cur_opt:"login",
			mode:'code'
		});
			});
</script>
</head>
<body class="NightTheme">
	<div id="main_container">
		<div class="header">
			<a href="/">
			<div class="logo">
				<h1>RunJS</h1>
			</div>
			</a>
			<div class="headerMenu"></div>
		</div>
		
		<div class="explorer" style="display:none;">
					</div>
        <div class="fold_control on" style="display:none;"></div>
		<div id="core" class="core core_margin1">
			<div class="toolBar">
			</div>
			<div class="editor_wrapper">
							</div>
		</div>
	</div>
</body>
</html>